<!DOCTYPE html>
<html>
    <head>
    
    <!-- Codificação de caracteres -->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    <!--[if lt IE 9]>
    <script type="text/javascript">
        document.createElement("nav");
        document.createElement("header");
        document.createElement("footer");
        document.createElement("section");
        document.createElement("aside");
        document.createElement("article");
    </script>
    <![endif]-->
    
    <title>{% if titulo %}{{ titulo }} - {% endif %}CtrlSys Comercial</title>

    </head>
    <body>
        <section class="main">
            {% include "venda/mensagem.html" %}
            
            {% if compra and pagamentos %}
            {% for pagamento in pagamentos %}
            <div style="max-width: 19cm; background-color: yellow; clear: both;">
                <div style="width: 2cm; height: 6cm; float: left;"></div>
                <div style="width: 8.5cm; background-image: url('/static/img/bg-crediario.jpg'); background-position: center; background-size: 8.5cm 6cm; height: 6cm; float: left;"></div>
                <div style="width: 8.5cm; background-image: url('/static/img/bg-crediario.jpg'); background-position: center; background-size: 8.5cm 6cm; height: 6cm; float: left;"></div>
            </div>
            {% endfor %}
            {% endif %}
    </section>
    </body>
</html>

